﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Web;
using System.Configuration;

namespace Ivy.Common.Framework.GeneralUtility
{
    public class ApplicationSessionUtility
    {
        #region  Variable & constant
        const string constCultureInfo = "CultureInfo";
        #endregion  Variable & constant

        #region Constructor & Destructor
        #endregion Constructor & Destructor

        #region Properties
        #endregion Properties

        #region Public Methods
        private static string GetUserCultureInfo()
        {
            //Currently we are treating all user with same cultural info. We will change ir based of user session.
            AppSettingsReader _AppSettingsReader = new AppSettingsReader();
            string _CultureInfo = _AppSettingsReader.GetValue(constCultureInfo, typeof(string)).ToString();
            return _CultureInfo;
        }

        #endregion Public Methods

        #region Events
        #endregion Events

        #region Private Methods
        #endregion Private Methods
    }
}
